<?php

if(!defined("INDEX"))
    die;

// ---------------------------------------------------------------------------

$auth = new Auth;

$auth->logoutUser();

// Remember me checkbox case
if(isset($_COOKIE['auth_hash'])) {
    setcookie("auth_hash", "", time()-360000);
}

header('Location: /');
exit;
